package utils;

/**
 * Author: 陈艺博
 * Date: 2021/1/16 16:33
 * Description: 测试算法执行结果是否正确
 */
public class Asserts {
    public static void test(boolean value) {
        try {
            if (!value) {
                throw new Exception("测试未通过");
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
